package com.blog.common.newclass;

public class Result{
    private Boolean success;
    private int code;   //0成功，1错误，2警告
    private String msg;
    private Object data;
    private String err;
    private long count;

    public Result(Boolean success, String msg, Object obj, String err, int code, long count) {
        this.success = success;
        this.msg = msg;
        this.data = obj;
        this.err = err;
        this.code=code;
        this.count = count;
    }

    public long getCount() {
        return count;
    }

    public void setCount(long count) {
        this.count = count;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public Boolean getSuccess() {
        return success;
    }

    public void setSuccess(Boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object obj) {
        this.data = obj;
    }

    public String getErr() {
        return err;
    }

    public void setErr(String err) {
        this.err = err;
    }


}
